import {RouterModule, Routes} from '@angular/router';
import {NgModule} from '@angular/core';
import {WmsManagementComponent} from './wms-management.component';
const routes: Routes = [
    {path: '', component: WmsManagementComponent,
        children: [
            {path: '', redirectTo: 'wms-purchase-order-self', pathMatch: 'full'},
            // this line is use for generator path, don't remove
            {path: 'wms-warning-config', loadChildren: './wms-warning-config/wms-warning-config.module#WmsWarningConfigModule'},
            {path: 'wms-trays-manage', loadChildren: './wms-trays-manage/wms-trays-manage.module#WmsTraysManageModule'},
            {path: 'wms-warehouse-manage', loadChildren: './wms-warehouse-manage/wms-warehouse-manage.module#WmsWarehouseManageModule'},
            {path: 'wms-stock-detail', loadChildren: './wms-stock-detail/wms-stock-detail.module#WmsStockDetailModule'},
            {path: 'wms-stock-out', loadChildren: './wms-stock-out/wms-stock-out.module#WmsStockOutModule'},
            {path: 'wms-stock-transfer', loadChildren: './wms-stock-transfer/wms-stock-transfer.module#WmsStockTransferModule'},
            {path: 'wms-stock-put', loadChildren: './wms-stock-put/wms-stock-put.module#WmsStockPutModule'},
            {path: 'wms-purchase-order-three', loadChildren: './wms-purchase-order-three/wms-purchase-order-three.module#WmsPurchaseOrderThreeModule'},
            {path: 'wms-purchase-order-self', loadChildren: './wms-purchase-order-self/wms-purchase-order-self.module#WmsPurchaseOrderSelfModule'},
        ]
    }
];
@NgModule({
    imports: [RouterModule.forChild(routes)],
    exports: [RouterModule]
})
export class WmsManagementRoutingModule {
}
